<html>
<head>
<title>addContinActivity</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" src="../../_sharedassets/pages.js"></script>
</head>
<body>
<table class="nav" width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td width="100%" align="left"></td><td><a href="FStEngOneFive_50.html"><img src="../../_sharedassets/previous.gif" alt="Previous"></a><img src="../../_sharedassets/shim.gif" width="10"  height="1"><a href="FStEngOneFive_52.html"><img src="../../_sharedassets/next.gif" alt="Next"></a></td></tr><tr><td colspan="2"><img src="../../_sharedassets/shim.gif" height="4" width="1"></td></tr><tr><td colspan="2"><img src="../../_sharedassets/pixel.gif" height="1" width="100%"></td></tr><tr><td colspan="2"><img src="../../_sharedassets/shim.gif" height="11" width="1"></td></tr></table>
<h1>addContinActivity</h1>
<h4>Usage</h4>
<pre>
<i>myState.addContinActivity(id, mclip, hideClip)</i>
</pre>
<h4>Parameters</h4>
<p><i>id</i> ID for this continuous activity (must be unique only for other continuous activities on this state)</p>
<p><i>mclip</i> Movie clip to activate/deactivate</p>
<p><i>hideClip</i> Whether or not to make movie clip invisible when state is inactive</p>
<h4>Returns</h4>
<p>Nothing</p>
<h4>Description</h4>
<p>Adds a continuous state activity for the state. A continuous activity is simply a mechanism to start and stop a movie clip upon entry/exit from a state. Upon state entry, the movie clip is told "gotoAndPlay(2)". On exit, the clip is told "gotoAndStop(1)". There is a parameter, hideClip, that says whether or not to make the movie clip invisible (default is true) when the state is inactive.</p>
<table class="nav" width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td colspan="2"><img src="../../_sharedassets/shim.gif" height="6" width="1"></td></tr><tr><td colspan="2"><img src="../../_sharedassets/pixel.gif" height="1" width="100%"></td></tr><tr><td colspan="2"><img src="../../_sharedassets/shim.gif" height="4" width="1"></td></tr><tr><td width="100%" align="left"></td><td><a href="FStEngOneFive_50.html"><img src="../../_sharedassets/previous.gif" alt="Previous"></a><img src="../../_sharedassets/shim.gif" width="10" height="1"><a href="FStEngOneFive_52.html"><img src="../../_sharedassets/next.gif" alt="Next"></a></td></tr></table>
</body>
</html>